<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生信息添加</title>
</head>
<body>
<!--banner-->
<jsp:include page="/manager/common/head.jsp"></jsp:include>
<!--内容-->
<div class="container">
    <ol class="breadcrumb">
        <li><a href="${pageContext.request.contextPath}/m/main">首页</a>
        </li>
        <li class="active">添加学生信息</li>
    </ol>
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <form class="form-horizontal" action="${pageContext.request.contextPath}/m/saveStu">

                <div class="form-group">
                    <label for="studentId" class="col-sm-2 control-label">学号</label>
                    <div class="col-sm-10">
                         <input name="studentId" type="text" class="form-control" id="studentId" placeholder="140403023">
                    </div>
                </div>
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">姓名</label>
                    <div class="col-sm-10">
                        <input name="name" type="text" class="form-control" id="name" placeholder="张三">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-10">
                        <input name="password" type="password" class="form-control" id="password" placeholder="Password">
                    </div>
                </div>
                <div class="form-group">
                    <label class="radio-inline">
                        <input type="radio" name="gender" id="radio1" value="男" checked> 男
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="gender" id="radio2" value="女"> 女
                    </label>

                </div>
                <div class="form-group">
                    <label for="specialtyId" class="col-sm-2 control-label">专业编号</label>
                    <div class="col-sm-10">
                          <input name="specialtyId" type="text" class="form-control" id="specialtyId" placeholder="140403">
                    </div>
                </div>
                <div class="form-group">
                    <label for="cellphone" class="col-sm-2 control-label">手机号码</label>
                    <div class="col-sm-10">
                        <input name="cellphone" type="text" class="form-control" id="cellphone" placeholder="139****5699">
                    </div>
                </div>
                <div class="form-group">
                    <label for="email" class="col-sm-2 control-label">邮箱</label>
                    <div class="col-sm-10">
                        <input name="email" type="email" class="form-control" id="email" placeholder="zhangsan@qq.com">
                    </div>
                </div>
                    <button type="submit" class="btn btn-success col-sm-2 col-sm-offset-2" >保存</button>
            </form>

        </div>
    </div>
</div>
</body>
</html>
